package com.natasa.monitor.entity.monitor;

import org.springframework.http.HttpMethod;


/**
 * 监控以HTTP方式提供的服务是否可用
 * @author jianfeihit
 *
 */
public class HttpServiceMonitorRule extends BaseMonitorRule{
	private HttpMethod method;
	
	private String url;
	
	/**
	 * 当使用post方式测试http服务时url使用到的参数，使用json格式
	 */
	private String parameter;

	public HttpMethod getMethod() {
		return method;
	}

	public void setMethod(HttpMethod method) {
		this.method = method;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getParameter() {
		return parameter;
	}

	public void setParameter(String parameter) {
		this.parameter = parameter;
	}

	
}
